import Request from '@/utils/request'

// 精选项目
export function homeprojectList(data) {
  return Request({
    url: '/real/estate/home',
    method: 'post',
    data
  })
}

// 优质好铺
export function homeroomList(data) {
  return Request({
    url: '/real/estate/home/room',
    method: 'post',
    data
  })
}

// 推荐商铺
export function recommRoomList(num,data) {
  return Request({
    url: '/real/estate/room/top/'+num,
    method: 'post',
    data
  })
}
// 广告
export function advertisementList(pathParameter,data) {
  return Request({
    url: '/front/end/setting/'+pathParameter,
    method: 'get',
    data
  })
}
// 通知信息
export function recommTips(data) {
  return Request({
    url: '/front/end/notify',
    method: 'get',
    data
  })
}
// 通知信息(文字)
export function recommTipsWord(pathParameter,data) {
  return Request({
    url: '/front/end/setting/'+pathParameter,
    method: 'get',
    data
  })
}
